<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<meta charset="utf-8">
<head th:include="include :: header"></head>
<body class="gray-bg">
<div class="wrapper wrapper-content animated fadeInRight">
    <div class="row">
        <div class="col-sm-12">
            <div class="ibox-content">
                <form class="form-horizontal m-t" id="signupForm">
                    <!--<input id="id" name="id" th:value="${warn.name}"-->
                    <!--type="hidden">-->
                    <div class="form-group">
                        <label class="col-sm-3 control-label">属性名：</label>
                        <div class="col-sm-8">
                            <input id="name" name="name" class="form-control" type="text" readonly="readonly"
                                   th:value="${warn.name}">
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-sm-3 control-label">属性值：</label>
                        <div class="col-sm-8">
                            <input id="value" name="value" class="form-control" type="text"
                                   th:value="${warn.value}">
                        </div>
                    </div>
                    <!--<div class="form-group">-->
                    <!--<label class="col-sm-3 control-label">报警方式名称：</label>-->
                    <!--<div class="col-sm-8">-->
                    <!--<input id="deptId" name="deptId" class="hidden" th:value="${warn.name}">-->
                    <!--<input id="deptName" name="deptName"-->
                    <!--class="form-control" type="text" style="cursor: pointer;"-->
                    <!--onclick="openDept()" readonly="readonly" placeholder="所属部门" th:value="${warn.name}">-->
                    <!--</div>-->
                    <!--</div>-->
                    <div class="form-group">
                        <label class="col-sm-3 control-label">备注：</label>
                        <div class="col-sm-8">
                            <input id="remark" name="remark" class="form-control"
                                   th:value="${warn.remark}">
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-sm-3 control-label">最后更新时间：</label>
                        <div class="col-sm-8">
                            <input id="updateTime" name="updateTime" class="form-control" type="text"
                                   th:value="${#dates.format(warn.updateTime,'yyyy-MM-dd HH:mm:ss')}" readonly="readonly">
                        </div>
                    </div>


                    <!--<input type="hidden" name="roleIds" id="roleIds"-->
                    <!--th:value="${warn.name}">-->
                    <!--<div class="form-group">-->
                    <!--<label class="col-sm-3 control-label">角色</label>-->
                    <!--<div class="col-sm-8">-->
                    <!--<label th:each="role:${roles}" class="checkbox-inline">-->
                    <!--<input name="role" type="checkbox" th:value="${warn.name}"-->
                    <!--th:text="${role.roleName}" th:checked="${warn.name}">-->
                    <!--</label>-->
                    <!--</div>-->
                    <!--</div>-->
                    <div class="form-group">
                        <div class="col-sm-8 col-sm-offset-3">
                            <button type="submit" class="btn btn-primary">提交</button>
                        </div>
                    </div>
                </form>
            </div>
        </div>
    </div>
</div>
<div th:include="include::footer"></div>
<script type="text/javascript" src="/js/appjs/sys/config/edit.js">
</script>
</body>
</html>
